package com.tb.pojo;

import java.io.Serializable;

public class OrderItem implements Serializable {
    private Integer id;

    private Integer orderId;

    private String goodsId;

    private Integer goodsNum;

    private Float goodsPrice;

    private Integer goodsType;

    private Integer commentsStatus;

    private Integer commentsId;

    private Goods goodss;//宁-新增

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Float getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Float goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public Integer getCommentsStatus() {
        return commentsStatus;
    }

    public void setCommentsStatus(Integer commentsStatus) {
        this.commentsStatus = commentsStatus;
    }

    public Integer getCommentsId() {
        return commentsId;
    }

    public void setCommentsId(Integer commentsId) {
        this.commentsId = commentsId;
    }

    public Goods getGoodss() {
        return goodss;
    }

    public void setGoodss(Goods goodss) {
        this.goodss = goodss;
    }

    @Override
    public String toString() {
        return "OrderItem{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", goodsId=" + goodsId +
                ", goodsNum=" + goodsNum +
                ", goodsPrice=" + goodsPrice +
                ", goodsType=" + goodsType +
                ", commentsStatus=" + commentsStatus +
                ", commentsId=" + commentsId +
                ", goods=" + goodss +
                '}';
    }
}